package com.xing.crm.service;

import com.xing.crm.pojo.PageResult;
import com.xing.crm.pojo.ProApply;
import com.xing.crm.pojo.ProShop;
import com.xing.crm.pojo.WebUser;

import java.util.Map;

/**
 * @author Mr.L
 * @version V1.0
 * @date 2021年08月09日 17:56
 */
public interface ProApplyService {
	
	/**
	 * 功能描述: 

	 * @date 2021/8/9 17:57
	 * @param proApply
	 * @param webUser
	 * @return java.util.Map<java.lang.String,java.lang.Object>
	 * */
	Map<String, Object> submitApply(ProApply proApply, WebUser webUser);
	
	/**
	 * 功能描述: 获取申请列表

	 * @date 2021/8/11 11:32
	 * @param proShop
	 * @param isManager
	 * @return com.xing.crm.model.PageResult<com.xing.crm.model.ProApply>
	 * */
	PageResult<ProApply> getApplies(ProShop proShop, Boolean isManager);
	
	/**
	 * 功能描述: 

	 * @date 2021/8/11 15:34
	 * @param id
	 * @param isManager
	 * @return com.xing.crm.model.PageResult
	 * */
	PageResult agreeApply(String id, Boolean isManager);
	
}
